
import request from '@/utils/request'
export default {

  queryPageByCondition(params) {
    return request.post("/template/style/queryPageByCondition", {
      page: params.page,
      size: params.size,
      entity: params.entity
    });
  },
  queryByCondition(params) {
    return request.post("/template/style/queryByCondition", params);
  },
  add(params) {
    return request.post("/template/style/add", params);
  },
  edit(params) {
    return request.post("/template/style/edit", params);
  },
  delById(params) {
    return request.get(`/template/style/delById?id=${params}`);
  },
  delListById(params) {
    return request.get(`/template/style/delListById?idList=${params}`);
  }
};
